<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php if($this->type == "shop"){ ?>
<title>代购演示</title>
<?php }else if($this->type == "store"){ ?>
<title>个人云仓库演示</title>
<?php }else if($this->type == "waybill"){ ?>
<title>国际运单演示</title>
<?php }else if($this->type == "visit"){ ?>
<title>上门取件演示</title>
<?php }else if($this->type == "payment"){ ?>
<title>代支付演示</title>
<?php } ?>
<link href="/css/newshare.css" rel="stylesheet" type="text/css" />
<link href="/css/vip.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/admins/js/jquery/jquery-1.7.2.min.js"></script>
</head>
<body>
<!--topmost-->
<div class="newsharetop">
    <div class="ntopcen">
        <?php if(!$this->isLogin){?>
        <div class="ntopleft">
            <div class="nwelcome">
                <p>欢迎您来到悠奇！</p>
            </div>
            <div class="newtoplogin">
                <a class="ntoplogin" href="/user/login">登陆</a>
            </div>
            <div class="newtopzc">
                <a href="/user/join">立即注册</a>
            </div>
        </div>
        <?php } else { ?>
        <?php
            $img = '';
            $userId = $this->user->Id;
            $temp_id = sprintf("%09d", $userId);

            //1级目录
            $l1 = substr($temp_id, 0, 3);

            //2级目录
            $l2 = substr($temp_id, 3, 2);

            //3级目录
            $l3 = substr($temp_id, 5, 2);

            if ($this->user->Pic) {
                $img = $this->user->Pic;
                $img = '/data/avatar/' . $l1 . "/" . $l2 . "/" . $l3 . "/" . $img;
            } else {
                $img = '/data/avatar/' . "00.png";
            }
        ?>	
        <div class="ntopleft" style="">
            <div class="nwelcome">
                <p>欢迎您！</p>
            </div>
            <div class="newmembername">
                <!--鼠标悬停class="vip-head vipheadon"-->
                <div class="vip-head">
                    <a class="vipico_<?php echo $this->account->UserGrade>1?($this->account->UserGrade-1):"0";?>" href="javascript:void(0)" title="<?php echo $this->account->UserGradeName;?>"></a>
                    <a class="user-nick" href="javascript:void(0)"><?php echo $this->user->Nikename;?></a>
                    <span class="ntes-nav-select-arr"></span>
                </div>
                <div class="newmemberbox" style="display:none;">
                    <div class="newmemberinfo">
                        <div class="newmemberpic">
                            <a href="javascript:void(0)">
                                <img src="<?php echo $img; ?>" alt="会员姓名" />
                            </a>
                        </div>
                        <div class="newmemberx">
                            <p><a href="/member/home">进入我的账户主页</a></p>
                            <div class="newmembertc">
                                <a href="/user/logout">退出</a><i>|</i><a href="/member/profile">个人设置</a>
                            </div>
                            <div class="newmembertq">
                                <label>特权：</label>
                                <ul>
                                    <li><a href="http://help.uuch.com/?p=167" target="_blank" class="tq1" title="免费仓库"></a></li>
                                    <li><a href="http://help.uuch.com/?p=169" target="_blank" class="tq2" title="免费验货"></a></li>
                                    <li><a href="http://help.uuch.com/?p=171" target="_blank" class="tq3" title="金牌客服"></a></li>
                                    <li><a href="http://help.uuch.com/?p=1134" target="_blank" class="tq4" title="生日特权"></a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ntopemail">
                <a href="/member/mail" class="emailinfo" title="您有<?php echo $this->mainCount?$this->mainCount:0;?>条未读信息"><?php echo $this->mainCount>0?"<em>$this->mainCount</em>":"";?></a>
            </div>
        </div>
        <?php } ?>
        <div class="ntopright">
            <ul>
                <li><a class="ntopstyleo" href="/">悠奇首页</a></li>

                <li id="youqi">
                    <div class="ntmyxl">
                        <div class="ntopxiala"><a href="javascript:void(0)">我的悠奇<i></i></a></div>
                        <div class="navselectbox" style="display:none">
                            <dl>
                                <dd><a href="/member/mystore">我的云仓库</a></dd>
                                <dd><a href="/member/myorder">代购的宝贝</a></dd>
                                <dd><a href="/member/waybill">我的国际运单</a></dd>
                            </dl>
                        </div>
                    </div>
                </li>

                <li><div class="ntopgwc"><a href="/purchase/cart"><i></i>购物车<span><?php echo $this->cart?count($this->cart->Items):0;?></span>件</a></div></li>
                <li><div class="ntopkefu"><a href="http://crm2.qq.com/page/portalpage/wpa.php?uin=800035006&f=1&ty=1&aty=0&a=&from=6" target="_blank"><i></i>在线客服</a></div></li>
                <li id="gongju">
                    <div class="ntmyxl">
                        <div class="ntopxiala"><a href="javascript:void(0)">常用工具<i></i></a></div>
                        <div class="navselectbox" style="display:none;">
                            <dl>
                                <dd><a href="/tool/express">国际运费试算</a></dd>
                                <dd><a href="/tool/track">物流跟踪</a></dd>
                                <dd><a href="/tool/rate">汇率查询</a></dd>
                            </dl>
                        </div>
                    </div>
                </li>
                <li><a class="ntopstyleo" href="http://help.uuch.com/" target="_blank">帮助中心</a></li>
            </ul>
        </div>
    </div>
</div>
<!--topmost-->
<div class="yanshitop">
	<div class="yanshitopcen">
    	<div class="yanshilogo">
        	<a href="/"><img src="/images/share/logo2.png" alt="悠奇网"/></a>
        </div>
        <div class="yanshilei">
            <ul>
            	<li><a href="/demo/store"><i></i>个人云仓库演示</a></li>
            	<li><a href="/demo/shop"><i></i>代购演示</a></li>
            	<li><a href="/demo/waybill"><i></i>提交运单演示</a></li>
            	<li><a href="/demo/visit"><i></i>上门取件演示</a></li>
            	<li><a href="/demo/payment"><i></i>代支付演示</a></li>
            </ul>
        </div>
    </div>
</div>